# (c) 2008 by BogDan Vatra < bogdan@licentia.eu >

project(Navigator)

include_directories(BEFORE "${CMAKE_SOURCE_DIR}/libs")

set(Navigator_SRCS navPlugin.cpp)
QT4_WRAP_CPP(Navigator_SRCS navPlugin.h)

add_library(Navigator SHARED ${Navigator_SRCS})
add_dependencies(Navigator KontAMabil)
link_directories( "${CMAKE_SOURCE_DIR}/libs" )
target_link_libraries(Navigator KontAMabil ${QT_LIBRARIES})

install(TARGETS Navigator DESTINATION "${QT_PLUGINS_DIR}/designer" LIBRARY)
install(TARGETS Navigator ${INSTALL_DESIGNER_PLUGINS_DEFAULT_ARGS} )

